package com.hsteach.dao.domain.myopia;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hsteach.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * @Description: 高危视力档案
 * @Author: lx
 * @Date: 2023/12/14 15:31
 */
@Data
@TableName(value = "tb_myopia_risk")
public class MyopiaRisk extends BaseEntity {

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /**
     * 大平台人员id
     */
    private Long stuId;

    /** 年级 */
    private String grade;

    /**
     * 学校id
     */
    private Long schoolId;

    /**
     * 任务id
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long missionId;

    /**
     * 高危等级
     */
    private String riskLevel;

}
